package com.duobaoyu.dby.supply.biz.client.resource;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.duobaoyu.dby.supply.biz.client.resource.bean.dto.ChannelConfigBizDTO;
import com.duobaoyu.dby.supply.biz.client.resource.bean.vo.ChannelConfigVO;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName ResourceChannelConfigAdminClient
 * @Description 渠道配置设置 admin client
 * @createTime 13:18:00 2023/10/08
 */
public interface ResourceChannelConfigAdminClient {

    boolean updateChannelConfig(ChannelConfigBizDTO channelConfig);

    boolean removeChannelConfig(Long channelConfigId);

    boolean addChannelConfig(ChannelConfigBizDTO channelConfig);

    ChannelConfigVO getById(Long channelConfigId);

    Page<ChannelConfigVO> page(ChannelConfigBizDTO channelConfig);
}
